package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.SystemAccount;
import cn.wolfcode.p2p.business.domain.SystemAccountFlow;

import java.math.BigDecimal;

public interface ISystemAccountFlowService {
    int save(SystemAccountFlow systemAccountFlow);

    /**
     * 系统收到借款人借款手续费的流水
     * @param systemAccount
     * @param amount
     */
    void createReceiveAccountManagementChargeFlow(SystemAccount systemAccount, BigDecimal amount);

    /**
     * 系统收到利息管理费流水
     * @param systemAccount
     * @param amount
     */
    void createReceiveInterestManagerChargeFlow(SystemAccount systemAccount, BigDecimal amount);
}
